﻿@using Devonline.Identity.Admin
@inject AdminSetting _adminSetting;
@{
    var name = _adminSetting.Name;
    var copyright = _adminSetting.Copyright;
    var license = _adminSetting.License;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - @name</title>

    <!-- 开发阶段使用本地资源, 发布后可以使用 CDN -->
    <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.min.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/viewerjs/dist/viewer.min.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/kendoui/styles/web/kendo.common-bootstrap.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/kendoui/styles/web/kendo.bootstrap.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/kendoui/styles/web/kendo.common.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/devonline/css/com.css" asp-append-version="true" />
</head>
<body>
    <partial name="_Header" />

    <script src="~/lib/jquery/dist/jquery.min.js" asp-append-version="true"></script>
    <script src="~/lib/jquery-ui/jquery-ui.min.js" asp-append-version="true"></script>
    <script src="~/lib/bootstrap/dist/js/bootstrap.min.js" asp-append-version="true"></script>
    <script src="~/lib/axios/dist/axios.min.js" asp-append-version="true"></script>
    <script src="~/lib/underscore/underscore-min.js" asp-append-version="true"></script>
    <script src="~/lib/underscore.string/dist/underscore.string.min.js" asp-append-version="true"></script>
    <script src="~/lib/moment/min/moment-with-locales.min.js" asp-append-version="true"></script>
    <script src="~/lib/moment-timezone/builds/moment-timezone-with-data.min.js" asp-append-version="true"></script>
    <script src="~/lib/sweetalert/dist/sweetalert.min.js" asp-append-version="true"></script>
    <script src="~/lib/viewerjs/dist/viewer.min.js" asp-append-version="true"></script>
    <script src="~/lib/jquery-viewer/dist/jquery-viewer.min.js" asp-append-version="true"></script>
    <script src="~/lib/signalr/dist/browser/signalr.min.js" asp-append-version="true"></script>
    <script src="~/lib/downloadjs/download.min.js" asp-append-version="true"></script>
    <script src="~/lib/jquery-cookie/jquery.cookie.js" asp-append-version="true"></script>
    <script src="~/lib/jquery-fileupload/js/jquery.fileupload.js" asp-append-version="true"></script>

    <script src="~/lib/kendoui/js/kendo.web.min.js" asp-append-version="true"></script>
    <script src="~/lib/kendoui/js/cultures/kendo.culture.zh-CN.js" asp-append-version="true"></script>
    <script src="~/lib/kendoui/js/messages/kendo.messages.zh-CN.js" asp-append-version="true"></script>

    <script src="~/lib/devonline/js/deepclone.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/com.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/extensions.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/config.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/api.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/localCache.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/app.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/communicator.js" asp-append-version="true"></script>

    <script src="~/lib/devonline/js/plugins/jquery.plugin.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.field.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.button.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.form.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.grid.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.popup.js" asp-append-version="true"></script>
    <script src="~/lib/devonline/js/plugins/jquery.showbox.js" asp-append-version="true"></script>

    <script src="~/js/cache.js" asp-append-version="true"></script>
    <script src="~/js/account.js" asp-append-version="true"></script>
    <script src="~/js/site.js" asp-append-version="true"></script>

    <div id="_body_" class="body-container body-content">
        @RenderBody()
    </div>

    <footer id="_footer_" class="border-top footer text-center">
        <div class="container">
            &copy; 2020-@DateTime.Now.Year - @copyright <a href="https://beian.miit.gov.cn/" target="_blank">@license</a>
        </div>
    </footer>

    <partial name="_Template" />

    <script type="text/javascript">
        //启动整个项目的脚本
        $(() => app.startup());
    </script>
    @RenderSection("Scripts", required: false)
</body>
</html>
